<%@ page import="cz.tpj.logic.*" %>
<%@page import="cz.tpj.upl.*"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%
//vynulovani parametru k presmerovani
session.setAttribute(AddCityUtil.NEXT_PAGE, null);
%>
<html>
    <%= Navigation.getHead(null) %>
    <%= Navigation.getStartBody() %>
    <%= Navigation.getNavigationPanel(null, request) %>
          
        <div id="<%= Navigation.DIV_CENTER %>">
        <h1>Přidávání obrázků k městu:</h1>
        <h2><%= session.getAttribute(AddCityUtil.CITY_NAME) %></h2>
        <p><%= session.getAttribute(Navigation.SESIION_MESSAGE) %></p>
        <hr width="470" />
        <form ENCTYPE="multipart/form-data" method='POST' action='<%= Navigation.CONTEXT + Navigation.SERVLET_UPLOAD %>'>
        	<input type='hidden' name='<%= AddCityUtil.ACTION %>' value='soubor'>
        	<p><input type="file" name="soubor1"></p>
        	<p><input type="file" name="soubor2"></p>
        	<p><input type="file" name="soubor3"></p>
        	<p><input type="file" name="soubor4"></p>
        	<p><input type="file" name="soubor5"></p>
        	<p align="center"><input type="submit" value="Ulož obrázky"></p>
        </form>
        <hr width="470" />
        <form method='POST' action="<%= Navigation.JSP_CULTURAL_INTERESTS %>">
        	<input type="hidden" name="<%=AddCityUtil.CITY_NAME%>" value="">
        	<input type="hidden" name="<%=AddCityUtil.MAP_NAME%>" value="">
        	<input type="hidden" name="<%=AddCityUtil.SHORT_DESC%>" value="">
        	<input type="hidden" name="<%=AddCityUtil.LONG_DESC%>" value="">
        	<input type="submit" value="Žádné obrázky" >
        </form>

		</div>
<%= Navigation.getLoginLink(request) %>
</html>